package com.yanqu.road.entity.log.cross.fivehero;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(desc = "五雄争霸-洛邑阵营积分日志", tableName = "t_l_ck_activity_fivehero_log_score", autoSave = true, uploadCk = true, isCross = true)
public class LogFiveHeroScore extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "分组ID", isIndex = true)
    private int groupId;
    @FieldTypeAnnotation(desc = "阵营ID")
    private int campId;
    @FieldTypeAnnotation(desc = "0获得1失去")
    private int isGet;
    @FieldTypeAnnotation(desc = "1城市产出2战令产出")
    private int type;
    @FieldTypeAnnotation(desc = "哪些城市产出或者哪些战令")
    private String from;
    @FieldTypeAnnotation(desc = "变更量")
    private long value;
    @FieldTypeAnnotation(desc = "变更后的阵营积分")
    private long score;

    public LogFiveHeroScore(int groupId, int activityId, int campId, int isGet, int type, String from, long value, long score) {
        this.groupId = groupId;
        this.activityId = activityId;
        this.campId = campId;
        this.isGet = isGet;
        this.type = type;
        this.from = from;
        this.score = score;
        this.value = value;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
